﻿using System;
using System.Collections.Generic;
using ZXW.DotNet.Common.NetSnmp;

namespace HNMS.AgentBase
{
    public abstract class Agent : IAgent
    {
        public virtual object Clone()
        {
            return this.MemberwiseClone();
        }


        public void LoadAlarm()
        {
            throw new NotImplementedException();
        }

        public bool IsOnline { get; private set; }

        public  void Refreash()
        {
            IsOnline = false;
        }

        public abstract void Get(string[] name, Action<IDictionary<Oid, AsnType>> action);
        public abstract void Set(string name);
    }
}